This forum is closed to new posts and
responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:
in LScript ~Phil Nimtoolyynds 22.Jan.04 02:44 PM a Web browser Applications Development All ReleasesAll Platforms
Try this:
Forall a In srcDb.Agents
If a.Name = sAgentName Then
Set agent = a
On Error 4000 Goto ERRORLABEL
If agent.RunOnServer() = 0 Then
On Error Goto 0
msg = "END " & a.name & " ran successfully"
Exit Forall
Else
On Error Goto 0
msg = "END " & a.name & " ran with failure"
Exit Forall
End If
End If
End Forall